{
  "properties" : { },
  "id" : "a40342033e4f445692fa223fc614e1c5",
  "script" : null,
  "groupId" : "4c0c509172534572bbe1809900aeafa9",
  "name" : "查询所有分类列表列表",
  "createTime" : 1727071003038,
  "updateTime" : 1726284484368,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "listClassification",
  "method" : "GET",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\r\n    \"classification\": \"\"\r\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": []\n}",
  "description" : "",
  "requestBodyDefinition" : {
    "name" : "",
    "value" : { },
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  },
  "responseBodyDefinition" : {
    "name" : "",
    "value" : { },
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  }
}
================================
import org.apache.commons.lang3.StringUtils;
var sql1 = """
SELECT DISTINCT(CLASSIFICATION) FROM NDMP_MIB WHERE CLASSIFICATION IS NOT NULL and CLASSIFICATION != ''
        <if test="classification!=null and classification!=''">
            AND CLASSIFICATION like concat('%',#{classification},'%')
        </if>
""";
List classificationList = db.select(sql1);

Set result = new HashSet();
if (classificationList != null && classificationList.size() > 0) {
    for (s in classificationList) {
        if (StringUtils.isNotEmpty(s.classification)) {
            result.addAll(Arrays.asList(s.classification.split(",")));
        }
    }
}
return result